package org.itboys.mobile.entity.mysql.promotion;

import org.itboys.mongodb.entity.BaseMySqlEntity;
import org.mongodb.morphia.annotations.Entity;

import java.util.Date;

/**
 * 作者：jiangxiong
 * 日期：2017年5月8日
 * 描述：圣代_商品_拼团组 。
 */

public class SundayTeamGroup extends BaseMySqlEntity {
    private Long memberId;//发起人ID,
    private String memberName;//发起人名称
    private String memberImage;//发起人头像
    private Integer maxNumber;//最大拼团人数
    private Integer surplusNumber;//剩余拼团人数
    private Integer status;//1,拼团中，2，已结束（成功或失败），3未付款
    private Integer hour;//拼团有效发起小时数。
    private Date deadTime;//截至时间,
    private Long productId;//商品ID


    public SundayTeamGroup() {
    }

    public SundayTeamGroup(Long memberId, String memberName, String memberImage, Integer maxNumber, Integer surplusNumber, Integer status, Integer hour, Date deadTime, Long productId) {
        this.memberId = memberId;
        this.memberName = memberName;
        this.memberImage = memberImage;
        this.maxNumber = maxNumber;
        this.surplusNumber = surplusNumber;
        this.status = status;
        this.hour = hour;
        this.deadTime = deadTime;
        this.productId = productId;
    }

    public Long getMemberId() {
        return memberId;
    }

    public void setMemberId(Long memberId) {
        this.memberId = memberId;
    }

    public String getMemberName() {
        return memberName;
    }

    public void setMemberName(String memberName) {
        this.memberName = memberName;
    }

    public String getMemberImage() {
        return memberImage;
    }

    public void setMemberImage(String memberImage) {
        this.memberImage = memberImage;
    }

    public Integer getMaxNumber() {
        return maxNumber;
    }

    public void setMaxNumber(Integer maxNumber) {
        this.maxNumber = maxNumber;
    }

    public Integer getSurplusNumber() {
        return surplusNumber;
    }

    public void setSurplusNumber(Integer surplusNumber) {
        this.surplusNumber = surplusNumber;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getHour() {
        return hour;
    }

    public void setHour(Integer hour) {
        this.hour = hour;
    }

    public Date getDeadTime() {
        return deadTime;
    }

    public void setDeadTime(Date deadTime) {
        this.deadTime = deadTime;
    }

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }
}
